package com.chenzhou.service;

import com.chenzhou.dao.UserDAOImpl;
import com.chenzhou.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDAOImpl dao ;

    public UserEntity queryUserByUnameAndPassward(String uname, String pwd){
        return dao.queryUserByUnameAndPassward(uname,pwd);
    }
}
